﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Lk.Api.Controllers
{
   


    [ApiVersion("1.0")]
    [Route("api/test")]
    [ApiController]
    public class TestController : ControllerBase
    {
        [HttpGet]
        [Route("get")]
        public IEnumerable<string> Get()
        {
            return new string[] { "value1 from Version 1", "value1 from Version 1" };
        }

       
    }

    //[ApiVersion("2.0")]
    //[Route("api/test")]
    //[ApiController]
    //public class Test2Controller : ControllerBase
    //{
     
    //    [HttpGet]
    //    [Route("get")]
    //    public IEnumerable<string> Get()
    //    {
    //        return new string[] { "value2 from Version 2", "value2 from Version 2" };
    //    }
    //}
}


  
